<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxConstraint Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxConstraint.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classPxConstraint-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxConstraint Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__physics.html">Physics</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>A plugin class for implementing constraints.  
 <a href="classPxConstraint.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxConstraint_8h_source.html">PxConstraint.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for PxConstraint:</div>
<div class="dyncontent">
<div class="center"><img src="classPxConstraint__inherit__graph.png" border="0" usemap="#PxConstraint_inherit__map" alt="Inheritance graph"/></div>
<map name="PxConstraint_inherit__map" id="PxConstraint_inherit__map">
<area shape="rect" id="node2" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. " alt="" coords="20,5,88,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for PxConstraint:</div>
<div class="dyncontent">
<div class="center"><img src="classPxConstraint__coll__graph.png" border="0" usemap="#PxConstraint_coll__map" alt="Collaboration graph"/></div>
<map name="PxConstraint_coll__map" id="PxConstraint_coll__map">
<area shape="rect" id="node2" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. " alt="" coords="48,109,116,136"/>
<area shape="rect" id="node3" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag\l::Enum, PxU16 \&gt;" alt="" coords="5,5,159,47"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8153c211d21fff49565e7e06e475d5cc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a8153c211d21fff49565e7e06e475d5cc">release</a> ()=0</td></tr>
<tr class="memdesc:a8153c211d21fff49565e7e06e475d5cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases a <a class="el" href="classPxConstraint.html" title="A plugin class for implementing constraints. ">PxConstraint</a> instance.  <a href="#a8153c211d21fff49565e7e06e475d5cc">More...</a><br /></td></tr>
<tr class="separator:a8153c211d21fff49565e7e06e475d5cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa94f6f40eac2640b1211eb3ede57588b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classPxScene.html">PxScene</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#aa94f6f40eac2640b1211eb3ede57588b">getScene</a> () const =0</td></tr>
<tr class="memdesc:aa94f6f40eac2640b1211eb3ede57588b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the scene which this constraint belongs to.  <a href="#aa94f6f40eac2640b1211eb3ede57588b">More...</a><br /></td></tr>
<tr class="separator:aa94f6f40eac2640b1211eb3ede57588b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0842055f2c3263cebcea65b1b09888e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#ae0842055f2c3263cebcea65b1b09888e">getActors</a> (<a class="el" href="classPxRigidActor.html">PxRigidActor</a> *&amp;actor0, <a class="el" href="classPxRigidActor.html">PxRigidActor</a> *&amp;actor1) const =0</td></tr>
<tr class="memdesc:ae0842055f2c3263cebcea65b1b09888e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the actors for this constraint.  <a href="#ae0842055f2c3263cebcea65b1b09888e">More...</a><br /></td></tr>
<tr class="separator:ae0842055f2c3263cebcea65b1b09888e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad3f1f8c8e4220238c8fcb00c440e701"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#aad3f1f8c8e4220238c8fcb00c440e701">setActors</a> (<a class="el" href="classPxRigidActor.html">PxRigidActor</a> *actor0, <a class="el" href="classPxRigidActor.html">PxRigidActor</a> *actor1)=0</td></tr>
<tr class="memdesc:aad3f1f8c8e4220238c8fcb00c440e701"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the actors for this constraint.  <a href="#aad3f1f8c8e4220238c8fcb00c440e701">More...</a><br /></td></tr>
<tr class="separator:aad3f1f8c8e4220238c8fcb00c440e701"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac54f23bc7b3d52d3b5f265f6750e3199"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#ac54f23bc7b3d52d3b5f265f6750e3199">markDirty</a> ()=0</td></tr>
<tr class="memdesc:ac54f23bc7b3d52d3b5f265f6750e3199"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notify the scene that the constraint shader data has been updated by the application.  <a href="#ac54f23bc7b3d52d3b5f265f6750e3199">More...</a><br /></td></tr>
<tr class="separator:ac54f23bc7b3d52d3b5f265f6750e3199"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d697724814976973b1de9e303e15b3f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a2d697724814976973b1de9e303e15b3f">setFlags</a> (<a class="el" href="group__physics.html#gaf2b7f07d3fa7fafaf3d85114fbb120ee">PxConstraintFlags</a> <a class="el" href="PxConstraintDesc_8h.html#acfdd81caa30ceb0af5fafb4064b1bc67">flags</a>)=0</td></tr>
<tr class="memdesc:a2d697724814976973b1de9e303e15b3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the flags for this constraint.  <a href="#a2d697724814976973b1de9e303e15b3f">More...</a><br /></td></tr>
<tr class="separator:a2d697724814976973b1de9e303e15b3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45297b7f2310005fd74f3e7be995b0f8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__physics.html#gaf2b7f07d3fa7fafaf3d85114fbb120ee">PxConstraintFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a45297b7f2310005fd74f3e7be995b0f8">getFlags</a> () const =0</td></tr>
<tr class="memdesc:a45297b7f2310005fd74f3e7be995b0f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the flags for this constraint.  <a href="#a45297b7f2310005fd74f3e7be995b0f8">More...</a><br /></td></tr>
<tr class="separator:a45297b7f2310005fd74f3e7be995b0f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95488eea1d5847d3d1408c3d5cdf2576"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a95488eea1d5847d3d1408c3d5cdf2576">setFlag</a> (<a class="el" href="structPxConstraintFlag.html#a86960e99b3e80ddb9e0ab51d7afc3427">PxConstraintFlag::Enum</a> flag, bool value)=0</td></tr>
<tr class="memdesc:a95488eea1d5847d3d1408c3d5cdf2576"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a flag for this constraint.  <a href="#a95488eea1d5847d3d1408c3d5cdf2576">More...</a><br /></td></tr>
<tr class="separator:a95488eea1d5847d3d1408c3d5cdf2576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5838f1118a15b32ca27a6b89e6580cf4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a5838f1118a15b32ca27a6b89e6580cf4">getForce</a> (<a class="el" href="classPxVec3.html">PxVec3</a> &amp;<a class="el" href="PxArticulationReducedCoordinate_8h.html#a840381307a4813334fba199be4bbcbf3">linear</a>, <a class="el" href="classPxVec3.html">PxVec3</a> &amp;<a class="el" href="PxArticulationReducedCoordinate_8h.html#a9603c86a5d2d0bff969100f99e404753">angular</a>) const =0</td></tr>
<tr class="memdesc:a5838f1118a15b32ca27a6b89e6580cf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the constraint force most recently applied to maintain this constraint.  <a href="#a5838f1118a15b32ca27a6b89e6580cf4">More...</a><br /></td></tr>
<tr class="separator:a5838f1118a15b32ca27a6b89e6580cf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96bea6e60039cf468b1c677d2594611a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a96bea6e60039cf468b1c677d2594611a">isValid</a> () const =0</td></tr>
<tr class="memdesc:a96bea6e60039cf468b1c677d2594611a"><td class="mdescLeft">&#160;</td><td class="mdescRight">whether the constraint is valid.  <a href="#a96bea6e60039cf468b1c677d2594611a">More...</a><br /></td></tr>
<tr class="separator:a96bea6e60039cf468b1c677d2594611a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0b069b41e76b7c017632cfc24f08d3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#adc0b069b41e76b7c017632cfc24f08d3">setBreakForce</a> (PxReal <a class="el" href="PxArticulationReducedCoordinate_8h.html#a840381307a4813334fba199be4bbcbf3">linear</a>, PxReal <a class="el" href="PxArticulationReducedCoordinate_8h.html#a9603c86a5d2d0bff969100f99e404753">angular</a>)=0</td></tr>
<tr class="memdesc:adc0b069b41e76b7c017632cfc24f08d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the break force and torque thresholds for this constraint.  <a href="#adc0b069b41e76b7c017632cfc24f08d3">More...</a><br /></td></tr>
<tr class="separator:adc0b069b41e76b7c017632cfc24f08d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b0da09475c44c2957e1dd6c7fb91ab1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a9b0da09475c44c2957e1dd6c7fb91ab1">getBreakForce</a> (PxReal &amp;<a class="el" href="PxArticulationReducedCoordinate_8h.html#a840381307a4813334fba199be4bbcbf3">linear</a>, PxReal &amp;<a class="el" href="PxArticulationReducedCoordinate_8h.html#a9603c86a5d2d0bff969100f99e404753">angular</a>) const =0</td></tr>
<tr class="memdesc:a9b0da09475c44c2957e1dd6c7fb91ab1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the constraint break force and torque thresholds.  <a href="#a9b0da09475c44c2957e1dd6c7fb91ab1">More...</a><br /></td></tr>
<tr class="separator:a9b0da09475c44c2957e1dd6c7fb91ab1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ddd5450fca029d9574b5c854b77d3d6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a9ddd5450fca029d9574b5c854b77d3d6">setMinResponseThreshold</a> (PxReal threshold)=0</td></tr>
<tr class="memdesc:a9ddd5450fca029d9574b5c854b77d3d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the minimum response threshold for a constraint row.  <a href="#a9ddd5450fca029d9574b5c854b77d3d6">More...</a><br /></td></tr>
<tr class="separator:a9ddd5450fca029d9574b5c854b77d3d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0319884873f5ad2c5e6b6798d6c985a4"><td class="memItemLeft" align="right" valign="top">virtual PxReal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a0319884873f5ad2c5e6b6798d6c985a4">getMinResponseThreshold</a> () const =0</td></tr>
<tr class="memdesc:a0319884873f5ad2c5e6b6798d6c985a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the constraint break force and torque thresholds.  <a href="#a0319884873f5ad2c5e6b6798d6c985a4">More...</a><br /></td></tr>
<tr class="separator:a0319884873f5ad2c5e6b6798d6c985a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac35d572c4d343685c120f11c8884526e"><td class="memItemLeft" align="right" valign="top">virtual void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#ac35d572c4d343685c120f11c8884526e">getExternalReference</a> (<a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> &amp;typeID)=0</td></tr>
<tr class="memdesc:ac35d572c4d343685c120f11c8884526e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch external owner of the constraint.  <a href="#ac35d572c4d343685c120f11c8884526e">More...</a><br /></td></tr>
<tr class="separator:ac35d572c4d343685c120f11c8884526e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fb6da793a10be50c30bb8e3fb175d68"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a3fb6da793a10be50c30bb8e3fb175d68">setConstraintFunctions</a> (<a class="el" href="classPxConstraintConnector.html">PxConstraintConnector</a> &amp;connector, const <a class="el" href="structPxConstraintShaderTable.html">PxConstraintShaderTable</a> &amp;shaders)=0</td></tr>
<tr class="memdesc:a3fb6da793a10be50c30bb8e3fb175d68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the constraint functions for this constraint.  <a href="#a3fb6da793a10be50c30bb8e3fb175d68">More...</a><br /></td></tr>
<tr class="separator:a3fb6da793a10be50c30bb8e3fb175d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b01eac7e58581ba7bb8fab23df99810"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a5b01eac7e58581ba7bb8fab23df99810">getConcreteTypeName</a> () const</td></tr>
<tr class="memdesc:a5b01eac7e58581ba7bb8fab23df99810"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns string name of dynamic type.  <a href="#a5b01eac7e58581ba7bb8fab23df99810">More...</a><br /></td></tr>
<tr class="separator:a5b01eac7e58581ba7bb8fab23df99810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classPxBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classPxBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classPxBase.html">PxBase</a></td></tr>
<tr class="memitem:a4bc720adef86ea68bfb5845f0e104d23 inherit pub_methods_classPxBase"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a4bc720adef86ea68bfb5845f0e104d23 inherit pub_methods_classPxBase"><td class="memTemplItemLeft" align="right" valign="top">T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPxBase.html#a4bc720adef86ea68bfb5845f0e104d23">is</a> ()</td></tr>
<tr class="separator:a4bc720adef86ea68bfb5845f0e104d23 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85aa50ac0e5670a2be64411fea62b5e3 inherit pub_methods_classPxBase"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a85aa50ac0e5670a2be64411fea62b5e3 inherit pub_methods_classPxBase"><td class="memTemplItemLeft" align="right" valign="top">const T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPxBase.html#a85aa50ac0e5670a2be64411fea62b5e3">is</a> () const</td></tr>
<tr class="separator:a85aa50ac0e5670a2be64411fea62b5e3 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4e0691a08e49631dc60014d49c7585f inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#ab4e0691a08e49631dc60014d49c7585f">getConcreteType</a> () const</td></tr>
<tr class="memdesc:ab4e0691a08e49631dc60014d49c7585f inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns concrete type of object.  <a href="classPxBase.html#ab4e0691a08e49631dc60014d49c7585f">More...</a><br /></td></tr>
<tr class="separator:ab4e0691a08e49631dc60014d49c7585f inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd20bb574075df904e1878f2e771ef9 inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a1dd20bb574075df904e1878f2e771ef9">setBaseFlag</a> (<a class="el" href="structPxBaseFlag.html#ac258de0c7adaa37f81b6ab1b0c86a6ee">PxBaseFlag::Enum</a> flag, bool value)</td></tr>
<tr class="memdesc:a1dd20bb574075df904e1878f2e771ef9 inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set <a class="el" href="structPxBaseFlag.html" title="Flags for PxBase. ">PxBaseFlag</a>.  <a href="classPxBase.html#a1dd20bb574075df904e1878f2e771ef9">More...</a><br /></td></tr>
<tr class="separator:a1dd20bb574075df904e1878f2e771ef9 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb391b692c561df0a54c413785e4ebd0 inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#afb391b692c561df0a54c413785e4ebd0">setBaseFlags</a> (<a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> inFlags)</td></tr>
<tr class="memdesc:afb391b692c561df0a54c413785e4ebd0 inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set PxBaseFlags.  <a href="classPxBase.html#afb391b692c561df0a54c413785e4ebd0">More...</a><br /></td></tr>
<tr class="separator:afb391b692c561df0a54c413785e4ebd0 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9b10efae7733ff9c8b8d3b7d90a9a5f inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#ad9b10efae7733ff9c8b8d3b7d90a9a5f">getBaseFlags</a> () const</td></tr>
<tr class="memdesc:ad9b10efae7733ff9c8b8d3b7d90a9a5f inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns PxBaseFlags.  <a href="classPxBase.html#ad9b10efae7733ff9c8b8d3b7d90a9a5f">More...</a><br /></td></tr>
<tr class="separator:ad9b10efae7733ff9c8b8d3b7d90a9a5f inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38952fcb80e99f1f5dbf774a75ac2c3d inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a38952fcb80e99f1f5dbf774a75ac2c3d">isReleasable</a> () const</td></tr>
<tr class="memdesc:a38952fcb80e99f1f5dbf774a75ac2c3d inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the object is subordinate.  <a href="classPxBase.html#a38952fcb80e99f1f5dbf774a75ac2c3d">More...</a><br /></td></tr>
<tr class="separator:a38952fcb80e99f1f5dbf774a75ac2c3d inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a505f367bc330fa15970154faf7f75d47"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#a505f367bc330fa15970154faf7f75d47">PxConstraint</a> (<a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="separator:a505f367bc330fa15970154faf7f75d47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3a2526c82e5ee4e83c00d0d1d03990b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#ac3a2526c82e5ee4e83c00d0d1d03990b">PxConstraint</a> (<a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="separator:ac3a2526c82e5ee4e83c00d0d1d03990b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbcf13c57ee012d5e03ea54017c127cb"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#adbcf13c57ee012d5e03ea54017c127cb">~PxConstraint</a> ()</td></tr>
<tr class="separator:adbcf13c57ee012d5e03ea54017c127cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa120d4f05abc0ee24851ae833d293f6a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxConstraint.html#aa120d4f05abc0ee24851ae833d293f6a">isKindOf</a> (const char *name) const</td></tr>
<tr class="memdesc:aa120d4f05abc0ee24851ae833d293f6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether a given type name matches with the type of this instance.  <a href="#aa120d4f05abc0ee24851ae833d293f6a">More...</a><br /></td></tr>
<tr class="separator:aa120d4f05abc0ee24851ae833d293f6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classPxBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classPxBase')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classPxBase.html">PxBase</a></td></tr>
<tr class="memitem:a263f1ef821c74058ce9335e06cb842a4 inherit pro_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a263f1ef821c74058ce9335e06cb842a4">PxBase</a> (<a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="memdesc:a263f1ef821c74058ce9335e06cb842a4 inherit pro_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor setting concrete type and base flags.  <a href="classPxBase.html#a263f1ef821c74058ce9335e06cb842a4">More...</a><br /></td></tr>
<tr class="separator:a263f1ef821c74058ce9335e06cb842a4 inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58b979202e7382701f74977fe3dd5c6f inherit pro_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a58b979202e7382701f74977fe3dd5c6f">PxBase</a> (<a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="memdesc:a58b979202e7382701f74977fe3dd5c6f inherit pro_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deserialization constructor setting base flags.  <a href="classPxBase.html#a58b979202e7382701f74977fe3dd5c6f">More...</a><br /></td></tr>
<tr class="separator:a58b979202e7382701f74977fe3dd5c6f inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfbf62dc32775b068db1c74c7fd3d982 inherit pro_methods_classPxBase"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#adfbf62dc32775b068db1c74c7fd3d982">~PxBase</a> ()</td></tr>
<tr class="memdesc:adfbf62dc32775b068db1c74c7fd3d982 inherit pro_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classPxBase.html#adfbf62dc32775b068db1c74c7fd3d982">More...</a><br /></td></tr>
<tr class="separator:adfbf62dc32775b068db1c74c7fd3d982 inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3782ca64c8f12c41443f604e300fc207 inherit pro_methods_classPxBase"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a3782ca64c8f12c41443f604e300fc207 inherit pro_methods_classPxBase"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPxBase.html#a3782ca64c8f12c41443f604e300fc207">typeMatch</a> () const</td></tr>
<tr class="separator:a3782ca64c8f12c41443f604e300fc207 inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classPxBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classPxBase')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classPxBase.html">PxBase</a></td></tr>
<tr class="memitem:a1abe9d19726e1f8f8e56abeb2269b5d4 inherit pro_attribs_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a1abe9d19726e1f8f8e56abeb2269b5d4">mConcreteType</a></td></tr>
<tr class="separator:a1abe9d19726e1f8f8e56abeb2269b5d4 inherit pro_attribs_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff7105f65905ecb9f6f7993ba28b712d inherit pro_attribs_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#aff7105f65905ecb9f6f7993ba28b712d">mBaseFlags</a></td></tr>
<tr class="separator:aff7105f65905ecb9f6f7993ba28b712d inherit pro_attribs_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A plugin class for implementing constraints. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxPhysics.html#a1126f3f545ebe183be1753f62d1efc7d" title="Creates a constraint shader. ">PxPhysics.createConstraint</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a505f367bc330fa15970154faf7f75d47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a505f367bc330fa15970154faf7f75d47">&#9670;&nbsp;</a></span>PxConstraint() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxConstraint::PxConstraint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a>&#160;</td>
          <td class="paramname"><em>concreteType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td>
          <td class="paramname"><em>baseFlags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac3a2526c82e5ee4e83c00d0d1d03990b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3a2526c82e5ee4e83c00d0d1d03990b">&#9670;&nbsp;</a></span>PxConstraint() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxConstraint::PxConstraint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td>
          <td class="paramname"><em>baseFlags</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="adbcf13c57ee012d5e03ea54017c127cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbcf13c57ee012d5e03ea54017c127cb">&#9670;&nbsp;</a></span>~PxConstraint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxConstraint::~PxConstraint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae0842055f2c3263cebcea65b1b09888e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0842055f2c3263cebcea65b1b09888e">&#9670;&nbsp;</a></span>getActors()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::getActors </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxRigidActor.html">PxRigidActor</a> *&amp;&#160;</td>
          <td class="paramname"><em>actor0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxRigidActor.html">PxRigidActor</a> *&amp;&#160;</td>
          <td class="paramname"><em>actor1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieves the actors for this constraint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">actor0</td><td>a reference to the pointer for the first actor </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">actor1</td><td>a reference to the pointer for the second actor</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxActor.html" title="PxActor is the base class for the main simulation objects in the physics SDK. ">PxActor</a> </dd></dl>

</div>
</div>
<a id="a9b0da09475c44c2957e1dd6c7fb91ab1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b0da09475c44c2957e1dd6c7fb91ab1">&#9670;&nbsp;</a></span>getBreakForce()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::getBreakForce </td>
          <td>(</td>
          <td class="paramtype">PxReal &amp;&#160;</td>
          <td class="paramname"><em>linear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PxReal &amp;&#160;</td>
          <td class="paramname"><em>angular</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve the constraint break force and torque thresholds. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">linear</td><td>the linear break threshold </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">angular</td><td>the angular break threshold </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5b01eac7e58581ba7bb8fab23df99810"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b01eac7e58581ba7bb8fab23df99810">&#9670;&nbsp;</a></span>getConcreteTypeName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* PxConstraint::getConcreteTypeName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns string name of dynamic type. </p>
<dl class="section return"><dt>Returns</dt><dd>Class name of most derived type of this object. </dd></dl>

<p>Implements <a class="el" href="classPxBase.html#a67fe206d8897ddce896c371ac8d789a9">PxBase</a>.</p>

</div>
</div>
<a id="ac35d572c4d343685c120f11c8884526e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac35d572c4d343685c120f11c8884526e">&#9670;&nbsp;</a></span>getExternalReference()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void* PxConstraint::getExternalReference </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> &amp;&#160;</td>
          <td class="paramname"><em>typeID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Fetch external owner of the constraint. </p>
<p>Provides a reference to the external owner of a constraint and a unique owner type ID.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">typeID</td><td>Unique type identifier of the external object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to the external object which owns the constraint.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxConstraintConnector.html#a1210c94b5fa0513b2cd99ceedccd23ee" title="Fetches external data for a constraint. ">PxConstraintConnector.getExternalReference()</a> </dd></dl>

</div>
</div>
<a id="a45297b7f2310005fd74f3e7be995b0f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45297b7f2310005fd74f3e7be995b0f8">&#9670;&nbsp;</a></span>getFlags()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__physics.html#gaf2b7f07d3fa7fafaf3d85114fbb120ee">PxConstraintFlags</a> PxConstraint::getFlags </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve the flags for this constraint. </p>
<dl class="section return"><dt>Returns</dt><dd>the constraint flags </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__physics.html#gaf2b7f07d3fa7fafaf3d85114fbb120ee" title="constraint flags ">PxConstraintFlags</a> </dd></dl>

</div>
</div>
<a id="a5838f1118a15b32ca27a6b89e6580cf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5838f1118a15b32ca27a6b89e6580cf4">&#9670;&nbsp;</a></span>getForce()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::getForce </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>linear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>angular</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve the constraint force most recently applied to maintain this constraint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">linear</td><td>the constraint force </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">angular</td><td>the constraint torque </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0319884873f5ad2c5e6b6798d6c985a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0319884873f5ad2c5e6b6798d6c985a4">&#9670;&nbsp;</a></span>getMinResponseThreshold()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxReal PxConstraint::getMinResponseThreshold </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve the constraint break force and torque thresholds. </p>
<dl class="section return"><dt>Returns</dt><dd>the minimum response threshold for a constraint row </dd></dl>

</div>
</div>
<a id="aa94f6f40eac2640b1211eb3ede57588b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa94f6f40eac2640b1211eb3ede57588b">&#9670;&nbsp;</a></span>getScene()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classPxScene.html">PxScene</a>* PxConstraint::getScene </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieves the scene which this constraint belongs to. </p>
<dl class="section return"><dt>Returns</dt><dd>Owner Scene. NULL if not part of a scene.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxScene.html" title="A scene is a collection of bodies and constraints which can interact. ">PxScene</a> </dd></dl>

</div>
</div>
<a id="aa120d4f05abc0ee24851ae833d293f6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa120d4f05abc0ee24851ae833d293f6a">&#9670;&nbsp;</a></span>isKindOf()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool PxConstraint::isKindOf </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>superClass</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns whether a given type name matches with the type of this instance. </p>

<p>Reimplemented from <a class="el" href="classPxBase.html#addfc067afca2f67bda6c497b14424962">PxBase</a>.</p>

<p class="reference">References <a class="el" href="classPxBase.html#addfc067afca2f67bda6c497b14424962">PxBase::isKindOf()</a>.</p>

</div>
</div>
<a id="a96bea6e60039cf468b1c677d2594611a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96bea6e60039cf468b1c677d2594611a">&#9670;&nbsp;</a></span>isValid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool PxConstraint::isValid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>whether the constraint is valid. </p>
<p>A constraint is valid if it has at least one dynamic rigid body or articulation link. A constraint that is not valid may not be inserted into a scene, and therefore a static actor to which an invalid constraint is attached may not be inserted into a scene.</p>
<p>Invalid constraints arise only when an actor to which the constraint is attached has been deleted. </p>

</div>
</div>
<a id="ac54f23bc7b3d52d3b5f265f6750e3199"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac54f23bc7b3d52d3b5f265f6750e3199">&#9670;&nbsp;</a></span>markDirty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::markDirty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Notify the scene that the constraint shader data has been updated by the application. </p>

</div>
</div>
<a id="a8153c211d21fff49565e7e06e475d5cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8153c211d21fff49565e7e06e475d5cc">&#9670;&nbsp;</a></span>release()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::release </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Releases a <a class="el" href="classPxConstraint.html" title="A plugin class for implementing constraints. ">PxConstraint</a> instance. </p>
<dl class="section note"><dt>Note</dt><dd>This call does not wake up the connected rigid bodies.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxPhysics.html#a1126f3f545ebe183be1753f62d1efc7d" title="Creates a constraint shader. ">PxPhysics.createConstraint</a>, <a class="el" href="classPxBase.html#afe6aedda1df0d6d29b1a28213a5ee25a" title="Releases the PxBase instance, please check documentation of release in derived class. ">PxBase.release()</a> </dd></dl>

<p>Implements <a class="el" href="classPxBase.html#afe6aedda1df0d6d29b1a28213a5ee25a">PxBase</a>.</p>

</div>
</div>
<a id="aad3f1f8c8e4220238c8fcb00c440e701"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad3f1f8c8e4220238c8fcb00c440e701">&#9670;&nbsp;</a></span>setActors()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::setActors </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxRigidActor.html">PxRigidActor</a> *&#160;</td>
          <td class="paramname"><em>actor0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxRigidActor.html">PxRigidActor</a> *&#160;</td>
          <td class="paramname"><em>actor1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the actors for this constraint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">actor0</td><td>a reference to the pointer for the first actor </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">actor1</td><td>a reference to the pointer for the second actor</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxActor.html" title="PxActor is the base class for the main simulation objects in the physics SDK. ">PxActor</a> </dd></dl>

</div>
</div>
<a id="adc0b069b41e76b7c017632cfc24f08d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc0b069b41e76b7c017632cfc24f08d3">&#9670;&nbsp;</a></span>setBreakForce()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::setBreakForce </td>
          <td>(</td>
          <td class="paramtype">PxReal&#160;</td>
          <td class="paramname"><em>linear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PxReal&#160;</td>
          <td class="paramname"><em>angular</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the break force and torque thresholds for this constraint. </p>
<p>If either the force or torque measured at the constraint exceed these thresholds the constraint will break.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">linear</td><td>the linear break threshold </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">angular</td><td>the angular break threshold </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3fb6da793a10be50c30bb8e3fb175d68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fb6da793a10be50c30bb8e3fb175d68">&#9670;&nbsp;</a></span>setConstraintFunctions()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::setConstraintFunctions </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxConstraintConnector.html">PxConstraintConnector</a> &amp;&#160;</td>
          <td class="paramname"><em>connector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structPxConstraintShaderTable.html">PxConstraintShaderTable</a> &amp;&#160;</td>
          <td class="paramname"><em>shaders</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the constraint functions for this constraint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">connector</td><td>the constraint connector object by which the SDK communicates with the constraint. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">shaders</td><td>the shader table for the constraint</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxConstraintConnector.html" title="This class connects a custom constraint to the SDK. ">PxConstraintConnector</a> <a class="el" href="group__physics.html#ga4d1a71cd5d63cff2bbd97d8bc8899708">PxConstraintSolverPrep</a> <a class="el" href="group__physics.html#ga355f2bbe3ef578293e64865eb7986752">PxConstraintProject</a> <a class="el" href="group__physics.html#gaa85dd505b96db854d4ffdbe24fcb9089">PxConstraintVisualize</a> </dd></dl>

</div>
</div>
<a id="a95488eea1d5847d3d1408c3d5cdf2576"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95488eea1d5847d3d1408c3d5cdf2576">&#9670;&nbsp;</a></span>setFlag()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::setFlag </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPxConstraintFlag.html#a86960e99b3e80ddb9e0ab51d7afc3427">PxConstraintFlag::Enum</a>&#160;</td>
          <td class="paramname"><em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set a flag for this constraint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">flag</td><td>the constraint flag </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>the new value of the flag</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__physics.html#gaf2b7f07d3fa7fafaf3d85114fbb120ee" title="constraint flags ">PxConstraintFlags</a> </dd></dl>

</div>
</div>
<a id="a2d697724814976973b1de9e303e15b3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d697724814976973b1de9e303e15b3f">&#9670;&nbsp;</a></span>setFlags()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::setFlags </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__physics.html#gaf2b7f07d3fa7fafaf3d85114fbb120ee">PxConstraintFlags</a>&#160;</td>
          <td class="paramname"><em>flags</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the flags for this constraint. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>the new constraint flags</td></tr>
  </table>
  </dd>
</dl>
<p>default: <a class="el" href="structPxConstraintFlag.html#a86960e99b3e80ddb9e0ab51d7afc3427a330ccf346c5056c0570dbc495007d1ce" title="limits for drive strength are forces rather than impulses ">PxConstraintFlag::eDRIVE_LIMITS_ARE_FORCES</a></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__physics.html#gaf2b7f07d3fa7fafaf3d85114fbb120ee" title="constraint flags ">PxConstraintFlags</a> </dd></dl>

</div>
</div>
<a id="a9ddd5450fca029d9574b5c854b77d3d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ddd5450fca029d9574b5c854b77d3d6">&#9670;&nbsp;</a></span>setMinResponseThreshold()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxConstraint::setMinResponseThreshold </td>
          <td>(</td>
          <td class="paramtype">PxReal&#160;</td>
          <td class="paramname"><em>threshold</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the minimum response threshold for a constraint row. </p>
<p>When using mass modification for a joint or infinite inertia for a jointed body, very stiff solver constraints can be generated which can destabilize simulation. Setting this value to a small positive value (e.g. 1e-8) will cause constraint rows to be ignored if very large changes in impulses will generate only small changes in velocity. When setting this value, also set <a class="el" href="structPxConstraintFlag.html#a86960e99b3e80ddb9e0ab51d7afc3427a519966ef860b18d3609d7c08f66389ef" title="suppress constraint preprocessing, intended for use with rowResponseThreshold. May result in worse so...">PxConstraintFlag::eDISABLE_PREPROCESSING</a>. The solver accuracy for this joint may be reduced.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">threshold</td><td>the minimum response threshold</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxConstraintFlag.html#a86960e99b3e80ddb9e0ab51d7afc3427a519966ef860b18d3609d7c08f66389ef" title="suppress constraint preprocessing, intended for use with rowResponseThreshold. May result in worse so...">PxConstraintFlag::eDISABLE_PREPROCESSING</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxConstraint_8h_source.html">PxConstraint.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxConstraint.html">PxConstraint</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
